package com.hp.ssmp.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hp.ssmp.entity.TCart;
import com.hp.ssmp.entity.TOrderDetails;
import com.hp.ssmp.entity.dto.TCartDto;
import com.hp.ssmp.entity.dto.TOrderDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CartMapper extends BaseMapper<TCart> {
    public List<TCartDto> getTCartDtoBy(
            @Param(Constants.WRAPPER) QueryWrapper<TCartDto> wrapper);
}
